﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ServiceContract;

namespace WcfServiceLibrary
{
    public class MathService : IMathService
    {
        #region IMathService Members

        public int Sum(int x, int y)
        {
            return x+y;
        }

        public int Substract(int from, int to)
        {
            return from-to;
        }

        #endregion
    }
}
